package com.zsh.wx_account1.entity;

/**
 *  跳转URL用户点击view类型按钮后，微信客户端将会打开开发者在按钮中填写的网页URL，
 *  可与网页授权获取用户基本信息接口结合，获得用户基本信息。
 * @Author ZhaoShuHao
 * @Date 2023/8/23 9:37
 */
public class ViewButton extends AbstractButton{

    public ViewButton(String name,String url) {
        super(name);
        this.type = "view";
        this.url = url;
    }
    private String type;
    private String url;
    public String getType() {
        return type;
    }
    public String getUrl() {
        return url;
    }
    public void setUrl(String url) {
        this.url = url;
    }
}
